package com.catering.controller.untilController;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@CrossOrigin
public class PageBackController {

	/**
	 * 商品管理
	 * @return
	 */
	//商品
	@RequestMapping("/dashboard")
	public String dashboard() {
		return "back/dashboard/dashboard";
	}
	//商品
	@RequestMapping("/dashboarddate")
	public String dashboarddate() {
		return "back/dashboard/dashboard-date";
	}
	//商品
	@RequestMapping("/cateringgoodslist")
	public String cateringgoodslist() {
		return "back/goods/goods/goods-list";
	}
	@RequestMapping("/cateringgoodsadd")
	public String cateringgoodsadd() {
		return "back/goods/goods/goods-add";
	}
	@RequestMapping("/cateringgoodsedit")
	public String cateringgoodsedit() {
		return "back/goods/goods/goods-edit";
	}
	//商品优惠券
	@RequestMapping("/cateringcoupon")
	public String cateringcouponlist() {
		return "back/goods/coupon/coupon-list";
	}
	@RequestMapping("/cateringcouponadd")
	public String cateringcouponadd() {
		return "back/goods/coupon/coupon-add";
	}
	@RequestMapping("/cateringcouponedit")
	public String cateringcouponedit() {
		return "back/goods/coupon/coupon-edit";
	}
	//商品评价
	@RequestMapping("/cateringdiscuss")
	public String cateringdiscusslist() {
		return "back/goods/discuss/discuss-list";
	}
	@RequestMapping("/cateringdiscussadd")
	public String cateringdiscussadd() {
		return "back/goods/discuss/discuss-add";
	}
	@RequestMapping("/cateringdiscussedit")
	public String cateringdiscussedit() {
		return "back/goods/discuss/discuss-edit";
	}
	//父级规格
	@RequestMapping("/parentspaceslist")
	public String parentspaceslist() {
		return "back/spaces/parent/parent-list";
	}
	@RequestMapping("/parentspacesadd")
	public String parentspacesadd() {
		return "back/spaces/parent/parent-add";
	}
	@RequestMapping("/parentspacesedit")
	public String parentspacesedit() {
		return "back/spaces/parent/parent-edit";
	}
	//子级规格
	@RequestMapping("/childspaceslist")
	public String childspaceslist() {
		return "back/spaces/child/child-list";
	}
	@RequestMapping("/childspacesadd")
	public String childspacesadd() {
		return "back/spaces/child/child-add";
	}
	@RequestMapping("/childspacesedit")
	public String childspacesedit() {
		return "back/spaces/child/child-edit";
	}

	/**
	 * 用户管理
	 * @return
	 */
	//用户列表
	@RequestMapping("/cateringuserlist")
	public String cateringuserlist() {
		return "back/user/user/user-list";
	}
	@RequestMapping("/cateringuseradd")
	public String cateringuseradd() {
		return "back/user/user/user-add";
	}
	@RequestMapping("/cateringuseredit")
	public String cateringuseredit() {
		return "back/user/user/user-edit";
	}
	//用户订单
	@RequestMapping("/carteruserorder")
	public String cateringuserorderlist() {
		return "back/user/userorder/userorder-list";
	}
	@RequestMapping("/cateringuserorderadd")
	public String cateringuserorderadd() {
		return "back/user/userorder/userorder-add";
	}
	@RequestMapping("/cateringuserorderedit")
	public String cateringuserorderedit() {
		return "back/user/userorder/userorder-edit";
	}
	@RequestMapping("/cateringordercart")
	public String cateringordercartlist() {
		return "back/user/userorder/ordercart-list";
	}
	@RequestMapping("/cateringordercartadd")
	public String cateringordercartadd() {
		return "back/user/userorder/ordercart-add";
	}
	@RequestMapping("/cateringordercartedit")
	public String cateringordercartedit() {
		return "back/user/userorder/ordercart-edit";
	}
	//用户购物车
	@RequestMapping("/cateringusercart")
	public String cateringusercartlist() {
		return "back/user/usercart/usercart-list";
	}
	@RequestMapping("/cateringusercartadd")
	public String cateringusercartadd() {
		return "back/user/usercart/usercart-add";
	}
	@RequestMapping("/cateringusercartedit")
	public String cateringusercartedit() {
		return "back/user/usercart/usercart-edit";
	}
	//用户地址
	@RequestMapping("/cateringaddress")
	public String cateringuseraddresslist() {
		return "back/user/useraddress/useraddress-list";
	}
	@RequestMapping("/cateringuseraddressadd")
	public String cateringuseraddressadd() {
		return "back/user/useraddress/useraddress-add";
	}
	@RequestMapping("/cateringuseraddressedit")
	public String cateringuseraddressedit() {
		return "back/user/useraddress/useraddress-edit";
	}
	//用户的优惠券
	@RequestMapping("/cateringusercoupon")
	public String cateringusercouponlist() {
		return "back/user/usercoupon/usercoupon-list";
	}
	@RequestMapping("/cateringusercouponadd")
	public String cateringusercouponadd() {
		return "back/user/usercoupon/usercoupon-add";
	}
	@RequestMapping("/cateringusercouponedit")
	public String cateringusercouponedit() {
		return "back/user/usercoupon/usercoupon-edit";
	}
	//用户的积分
	@RequestMapping("/cateringintegral")
	public String cateringintegrallist() {
		return "back/user/integral/integral-list";
	}
	@RequestMapping("/cateringintegraladd")
	public String cateringintegraladd() {
		return "back/user/integral/integral-add";
	}
	@RequestMapping("/cateringintegraledit")
	public String cateringintegraledit() {
		return "back/user/integral/integral-edit";
	}
	//用户的订单物流信息
	@RequestMapping("/cateringorderlog")
	public String cateringorderloglist() {
		return "back/user/orderlog/orderlog-list";
	}
	@RequestMapping("/cateringorderlogadd")
	public String cateringorderlogadd() {
		return "back/user/orderlog/orderlog-add";
	}
	@RequestMapping("/cateringorderlogedit")
	public String cateringorderlogedit() {
		return "back/user/orderlog/orderlog-edit";
	}

	/**
	 * 反馈管理
	 * @return
	 */
	//反馈列表
	@RequestMapping("/cateringfeedback")
	public String cateringfeedbacklist() {
		return "back/feedback/feedback-list";
	}
	@RequestMapping("/cateringfeedbackadd")
	public String cateringfeedbackadd() {
		return "back/feedback/feedback-add";
	}
	@RequestMapping("/cateringfeedbackedit")
	public String cateringfeedbackedit() {
		return "back/feedback/feedback-edit";
	}

	/**
	 * 模块管理
	 * @return
	 */
	//模块列表
	@RequestMapping("/cateringmodule")
	public String cateringmodulelist() {
		return "back/system/module/module-list";
	}
	@RequestMapping("/cateringmoduleadd")
	public String cateringmoduleadd() {
		return "back/system/module/module-add";
	}
	@RequestMapping("/cateringmoduleedit")
	public String cateringmoduleedit() {
		return "back/system/module/module-edit";
	}

	/**
	 * 团购模块
	 */
	//活动列表
	@RequestMapping("/groupactilist")
	public String groupactilist() {
		return "back/group/activities/acti-list";
	}
	@RequestMapping("/groupactiadd")
	public String groupactiadd() {
		return "back/group/activities/acti-add";
	}
	@RequestMapping("/groupactiedit")
	public String groupactiedit() {
		return "back/group/activities/acti-edit";
	}
}
